<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score_total')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score_total" data-rule="required" class="form-control" name="row[score_total]" type="number" value="{$row.score_total|htmlentities}">
        </div>
    </div>
    <!--
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score_level" class="form-control" name="row[score_level]" type="text" value="{$row.score_level|htmlentities}">
        </div>
    </div>
    -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Feedback_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="feedbackStatusList" item="vo"}
            <label for="row[feedback_status]-{$key}"><input id="row[feedback_status]-{$key}" name="row[feedback_status]" type="radio" value="{$key}" {in name="key" value="$row.feedback_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Feedback_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-feedback_content" class="form-control editor" rows="5" name="row[feedback_content]" cols="50">{$row.feedback_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sport_teacher_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sport_teacher_id" data-rule="required" data-field="teacher_name" data-source="sport/teacher/index" class="form-control selectpage" name="row[sport_teacher_id]" type="text" value="{$row.sport_teacher_id|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
